package com.itheima.health.service;

import com.itheima.health.Exception.MyException;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;

public interface MenuService {
    PageResult<Menu> findPage(QueryPageBean queryPageBean);

    void add(Menu menu);

    Menu findById(int id);

    void update(Menu menu);

    void deleteById(int id) throws MyException;
}
